<span><i ng-click="itemExpended(item, $event);" class="m-r-sm glyphicon" ng-class="{'glyphicon-folder-close' : (!isLeaf(item) && item.$$isExpend),'glyphicon-folder-open' : !isLeaf(item) && !item.$$isExpend, 'glyphicon-leaf' : isLeaf(item)}"></i><span  ng-click="warpCallback('itemClicked', item, $event);">{{item[textField]}}</span></span>
<ul ng-if="!isLeaf(item)" ng-show="!item.$$isExpend">
    <li ng-repeat="item in item.children" ng-include="'module/angular/myTree/treeNode.html'" ></li>
</ul>